package com.improve.frame.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description
 *  boolean类型枚举
 * @Author wzxing918
 * @Date 2021-03-31
 * @Version 1.0.0
 **/
@Getter
@AllArgsConstructor
public enum BooleanType {
    /**
     * 是
     */
    TRUE(1, "是"),

    /**
     * 否
     */
    FALSE(2,"否");

    /**
     * 错误码
     */
    private final Integer code;

    /**
     * 错误描述
     */
    private final String desc;
}
